home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / GMS / GMSDev / Includes / misc / time.h next >
Encoding:
C/C++ Source or Header  |  1998-05-13  |  791 b   |  35 lines

  1. #ifndef MISC_TIME_H
  2. #define MISC_TIME_H TRUE
  3.  
  4. /*
  5. **  $VER: time.h V1.0
  6. **
  7. **  Time Object.
  8. **
  9. **  (C) Copyright 1996-1998 DreamWorld Productions.
  10. **      All Rights Reserved
  11. */
  12.  
  13. /****************************************************************************
  14. ** Time Object.
  15. */
  16.  
  17. #define VER_TIME 1
  18.  
  19. typedef struct Time {
  20.   struct Head Head;  /* Standard header */
  21.   WORD   Year;       /* Year   (-ve for BC, +ve for AD) */
  22.   WORD   Month;      /* Month  (1 - 12) */
  23.   WORD   Day;        /* Day    (1 - 31) */
  24.   WORD   Hour;       /* Hour   (0 - 23) */
  25.   WORD   Minute;     /* Minute (0 - 59) */
  26.   WORD   Second;     /* Second (0 - 59) */
  27.   WORD   Micro;      /* Micro  (0 - 99 micro-seconds) */
  28.  
  29.   /*** Private fields ***/
  30.  
  31.   struct DateTime *prvDateTime;
  32. } OBJ_TIME;
  33.  
  34. #endif /* MISC_TIME_H */
  35.